#pragma once
#include "MessengerEventBase.h"


namespace Boon
{
	class Timer;
	class BOON_API Event_Timescale_Change : public MessengerEventBase
	{
		Event_Timescale_Change( float timescale ) : m_TimeScale( timescale ) {}
	public:
		static const EventType				ID = 0x5d8f3710;

		virtual const EventType				GetEventID() const { return ID; }
		virtual void						Serialize( std::ostream& out ) const {}
		virtual IMessengerEventStrong		Copy() const { return nullptr; }
		virtual const char*					GetName() const { return "Event_Timescale_Change"; }
		
		const float							m_TimeScale;

		friend class Timer;
	};

}